﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="EprWin.ascx.cs" Inherits="controls_front_EnterWin" %>

<div class="mod ml5">
  <div class="tt">
    <h3>企业之窗</h3>
    <div class="more"><a id="A1" href="~/enterprise.aspx" runat="server" target="_blank"><img id="Img1" src="~/images/but_more.gif" alt="更多" width="35" height="25" border="0" runat="server"/></a></div>
  </div>
  <div class="cc">
	<ul>
        <asp:Repeater ID="eprList" runat="server" >
            <ItemTemplate>
                <li>
                    <asp:HyperLink NavigateUrl='<%# "~/eprView.aspx?id="+Eval("UserName")%>' runat="server" ID="eprLink" 
                        ToolTip='<%#"公司名称：" + Eval("RealName")%>' Target="_blank">
                        <%# ((string)Eval("RealName")).Length > 23 ? ((string)Eval("RealName")).Substring(0, 23) + "..." : Eval("RealName")%>
                    </asp:HyperLink>
                </li>
            </ItemTemplate>
        </asp:Repeater>	
    </ul>
  </div>
</div>
